package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {
    private String id;
    @JsonProperty("login_name")
    private String loginName;
    private String password;
    private String name;
    private String email;
    private String phone;
    private String loginIp;
    @JsonProperty("login_date")
    private LocalDateTime loginDate;

    @JsonProperty("create_date")
    private LocalDateTime createDate;
    @JsonProperty("update_date")
    private LocalDateTime updateDate;
    private Integer status;
    private String defaultData;
    private String delFlag;

    @JsonProperty("role_id")
    private List<String> roleId;
    private List<String> rolename;
}

